package org.dromara.oce.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.oce.domain.OceSite;

import java.io.Serializable;
/**
 * 橙子建站落地页业务对象 oce_site
 *
 * @author dsbb
 * @date 2025-06-10
 */
@Data
@EqualsAndHashCode()
@AutoMapper(target = OceSite.class, reverseConvertGenerate = false)
public class OceSiteBo implements Serializable {

    /**
     * 建站id
     */
    @NotNull(message = "建站id不能为空", groups = { EditGroup.class })
    private Long siteId;

    /**
     * 管家账号id
     */
    @NotNull(message = "管家账号id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long accountId;

    /**
     * 广告主id
     */
    @NotNull(message = "广告主id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long advertiserId;

    /**
     * 建站名称
     */
    private String name;

    /**
     * 建站状态：ENABLE-已发布，已生效；DISABLE-不可用；DELETE-已删除；EDIT-未发布，未生效；FORBIDDEN-惩罚广告主，站点下线；AUDIT_ACCEPTED-审核通过；AUDIT_REJECTED-审核拒绝；AUDIT_BANNED-审核封禁；AUDIT_DOING-审核中；
     */
    private String status;

    /**
     * 建站类型：MICRO_APP-小程序；WECHAT_APPLET-微信小程序组件；
     */
    private String siteType;

    /**
     * 建站类别：SITE_FUNC_TYPE_NEW_MODULAR-智能建站；SITE_FUNC_TYPE_NORMAL-普通建站；
     */
    private String functionType;

    /**
     * 站点缩略图
     */
    private String thumbnail;


}
